{% layout="admin_layout.html" %}
{-jsorcss-}
<style type="text/css">
.form-group label{
	font-weight: 600;
}
</style>
{-jsorcss-}
{-content-}
<form class="form-signin" action="{{helper:url("admin/setting/store")}}" method="POST">
<h2 class="form-signin-heading">设置</h2>
{%for k,v in pairs(config) do%}
	{%if v['type']=='text' then%}
	<div class="form-group">
	    <label for="{{k}}">{{v['comments']}}</label>
	    <input type="text" name="{{k}}" id="{{k}}" class="input-block-level" value="{{helper:config_get(k)}}" placeholder="{{v['comments']}}">
	</div>
	{%end%}
{%end%}
<button class="btn btn-large btn-primary" type="submit">提交</button>
</form>
{-content-}